package cc.mrbird.web.service;

import cc.mrbird.common.service.IService;
import cc.mrbird.system.domain.OneStudent;
import cc.mrbird.system.domain.OneStudent;
import cc.mrbird.system.domain.Student;
import cc.mrbird.web.domain.RespImport;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface OneStudentService extends IService<OneStudent> {

    void addOneStudent(OneStudent oneStudent, String userName);//插入学生信息

    void updateOneStudent(OneStudent oneStudent);

    void deleteOneStudents(String ids);


    RespImport ImportOneStudent(MultipartFile file, String userName);//插入学生信息（五年制）

    List<OneStudent> findOneStudentAll();//查找所有学生信息-导出

    List<OneStudent> findOneStudentByCondition(OneStudent oneStudent); //查找考生信息（五年制）

    OneStudent findById(String id);

    OneStudent findByIdNumber(String idNumber);

}
